evaluate an expression with one variable ex7